<?php
/**
 * <类描述>
 * @author chenjunliang@star-net.cn
 * @copyright  ktvme. All Rights Reserved.
 * @version $Id: email.php 573 2018-03-21 03:09:24Z chendanming $
 */
switch(ENVIRONMENT_MODE) {
    case 'local': {
        return array(
            //邮件
            'permission' => true,  //是否发送邮件
            'sender'     => 'ktvme-dc@star-net.cn', //发件地址
            'reciever'   => [                //收件人 多人用数组
            ],
            'password'  => 'starnet.@49',  //发件邮箱密码
            'subject'   => '测试邮件主题',
            'content'   => '测试邮件内容',
            'ad_notice' => [
                'chendanming@star-net.cn'
            ]
        );
    }
    case 'tests': {
        return array(
            //邮件
            'permission' => true,  //是否发送邮件
            'sender'     => 'ktvme-dc@star-net.cn', //发件地址
            'reciever'   => [                //收件人 多人用数组
            ],
            'password'  => 'starnet.@49',  //发件邮箱密码
            'subject'   => '测试邮件主题',
            'content'   => '测试邮件内容',
            'ad_notice' => [
                'chendanming@star-net.cn',
                'xiaoqianqian@star-net.cn',
                'zhengpeideng@star-net.cn',
            ]
        );
    }
    case 'gray': {
        return array(
            //邮件
            'permission' => true,  //是否发送邮件
            'sender'     => 'ktvme-dc@star-net.cn', //发件地址
            'reciever'   => [                //收件人 多人用数组
            ],
            'password'  => 'starnet.@49',  //发件邮箱密码
            'subject'   => '邮件主题',
            'content'   => '邮件内容',
            'ad_notice' => [
                'zhangzr@star-net.cn',
                'tangyuzhen@star-net.cn',
                'zhengxianjin@star-net.cn',
                'zhangxinbin@star-net.cn',
                'zhengpeideng@star-net.cn',
                'chendanming@star-net.cn'
            ]
        );
    }
    case 'production': {
        return array(
            //邮件
            'permission' => true,  //是否发送邮件
            'sender'     => 'ktvme-dc@star-net.cn', //发件地址
            'reciever'   => [                //收件人 多人用数组
            ],
            'password'  => 'starnet.@49',  //发件邮箱密码
            'subject'   => '邮件主题',
            'content'   => '邮件内容',
            'ad_notice' => [
                'zhangzr@star-net.cn',
                'tangyuzhen@star-net.cn',
                'zhengxianjin@star-net.cn',
                'zhangxinbin@star-net.cn',
                'zhengpeideng@star-net.cn',
                'chendanming@star-net.cn'
            ]
        );
    }
}